<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>misc/syntax/cabal.syntax</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<!-- beginning of fixed guide -->
<div id='guide'><ul>
<li><a href='#TOP'><img class='icon' src='../icons/first.png' alt='[^]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/last.png' alt='[v]' /></a></li>
<li><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a></li>
<li><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a></li>
<li><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a></li>
<li class='standout'><span><a href='../files/misc.html'>misc</a>/<a href='../files/misc--syntax.html'>syntax</a>/cabal.syntax</span></li>
</ul></div>
<!-- end of fixed guide -->
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/misc.html'>misc</a>/<a href='../files/misc--syntax.html'>syntax</a>/cabal.syntax</h2>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><img class='icon' src='../icons/n_top.png' alt='[top]' /><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+1 misc/syntax/cabal.syntax'  /> */</em>
<hr />
<pre>
<a id='L1' name='L1'></a># Author   : Mikhail S. Pobolovets
<a id='L2' name='L2'></a># Language : cabal
<a id='L3' name='L3'></a>#
<a id='L4' name='L4'></a># haskell.syntax is taken as base
<a id='L5' name='L5'></a>#
<a id='L6' name='L6'></a> 
<a id='L7' name='L7'></a>caseinsensitive
<a id='L8' name='L8'></a> 
<a id='L9' name='L9'></a>context default
<a id='L10' name='L10'></a> 
<a id='L11' name='L11'></a># cabal keywords
<a id='L12' name='L12'></a> 
<a id='L13' name='L13'></a>#   reserved keywords:
<a id='L14' name='L14'></a> 
<a id='L15' name='L15'></a>#comments
<a id='L16' name='L16'></a>    keyword -- brown
<a id='L17' name='L17'></a> 
<a id='L18' name='L18'></a>#   unused symbols
<a id='L19' name='L19'></a>    keyword whole _\[0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz\] magenta
<a id='L20' name='L20'></a> 
<a id='L21' name='L21'></a>#   known fields
<a id='L22' name='L22'></a>    keyword whole \[\s\]author cyan
<a id='L23' name='L23'></a>    keyword whole \[\s\]bug-reports cyan
<a id='L24' name='L24'></a>    keyword whole \[\s\]buildable cyan
<a id='L25' name='L25'></a>    keyword whole \[\s\]build-depends cyan
<a id='L26' name='L26'></a>    keyword whole \[\s\]build-tools cyan
<a id='L27' name='L27'></a>    keyword whole \[\s\]build-type cyan
<a id='L28' name='L28'></a>    keyword whole \[\s\]cabal-version cyan
<a id='L29' name='L29'></a>    keyword whole \[\s\]category cyan
<a id='L30' name='L30'></a>    keyword whole \[\s\]cc-options cyan
<a id='L31' name='L31'></a>    keyword whole \[\s\]copyright cyan
<a id='L32' name='L32'></a>    keyword whole \[\s\]cpp-options cyan
<a id='L33' name='L33'></a>    keyword whole \[\s\]c-sources cyan
<a id='L34' name='L34'></a>    keyword whole \[\s\]data-dir cyan
<a id='L35' name='L35'></a>    keyword whole \[\s\]data-files cyan
<a id='L36' name='L36'></a>    keyword whole \[\s\]default-language cyan
<a id='L37' name='L37'></a>    keyword whole \[\s\]default cyan
<a id='L38' name='L38'></a>    keyword whole \[\s\]description cyan
<a id='L39' name='L39'></a>    keyword whole \[\s\]exposed-modules cyan
<a id='L40' name='L40'></a>    keyword whole \[\s\]exposed cyan
<a id='L41' name='L41'></a>    keyword whole \[\s\]extensions cyan
<a id='L42' name='L42'></a>    keyword whole \[\s\]extra-lib-dirs cyan
<a id='L43' name='L43'></a>    keyword whole \[\s\]extra-libraries cyan
<a id='L44' name='L44'></a>    keyword whole \[\s\]extra-source-files cyan
<a id='L45' name='L45'></a>    keyword whole \[\s\]extra-tmp-files cyan
<a id='L46' name='L46'></a>    keyword whole \[\s\]frameworks cyan
<a id='L47' name='L47'></a>    keyword whole \[\s\]ghc-options cyan
<a id='L48' name='L48'></a>    keyword whole \[\s\]ghc-prof-options cyan
<a id='L49' name='L49'></a>    keyword whole \[\s\]ghc-shared-options cyan
<a id='L50' name='L50'></a>    keyword whole \[\s\]homepage cyan
<a id='L51' name='L51'></a>    keyword whole \[\s\]hs-source-dirs cyan
<a id='L52' name='L52'></a>    keyword whole \[\s\]hugs-options cyan
<a id='L53' name='L53'></a>    keyword whole \[\s\]include-dirs cyan
<a id='L54' name='L54'></a>    keyword whole \[\s\]includes cyan
<a id='L55' name='L55'></a>    keyword whole \[\s\]install-includes cyan
<a id='L56' name='L56'></a>    keyword whole \[\s\]jhc-options cyan
<a id='L57' name='L57'></a>    keyword whole \[\s\]ld-options cyan
<a id='L58' name='L58'></a>    keyword whole \[\s\]license-file cyan
<a id='L59' name='L59'></a>    keyword whole \[\s\]license cyan
<a id='L60' name='L60'></a>    keyword whole \[\s\]location cyan
<a id='L61' name='L61'></a>    keyword whole \[\s\]main-is cyan
<a id='L62' name='L62'></a>    keyword whole \[\s\]maintainer cyan
<a id='L63' name='L63'></a>    keyword whole \[\s\]name cyan
<a id='L64' name='L64'></a>    keyword whole \[\s\]nhc98-options cyan
<a id='L65' name='L65'></a>    keyword whole \[\s\]other-extensions cyan
<a id='L66' name='L66'></a>    keyword whole \[\s\]other-modules cyan
<a id='L67' name='L67'></a>    keyword whole \[\s\]package-url cyan
<a id='L68' name='L68'></a>    keyword whole \[\s\]pkgconfig-depends cyan
<a id='L69' name='L69'></a>    keyword whole \[\s\]source-repository cyan
<a id='L70' name='L70'></a>    keyword whole \[\s\]stability cyan
<a id='L71' name='L71'></a>    keyword whole \[\s\]synopsis cyan
<a id='L72' name='L72'></a>    keyword whole \[\s\]tag cyan
<a id='L73' name='L73'></a>    keyword whole \[\s\]tested-with cyan
<a id='L74' name='L74'></a>    keyword whole \[\s\]type cyan
<a id='L75' name='L75'></a>    keyword whole \[\s\]version cyan
<a id='L76' name='L76'></a> 
<a id='L77' name='L77'></a>#   extended fields
<a id='L78' name='L78'></a>    keyword whole x\-\[\-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz\] cyan
<a id='L79' name='L79'></a> 
<a id='L80' name='L80'></a>#   version wildcard
<a id='L81' name='L81'></a>    keyword whole -any red
<a id='L82' name='L82'></a> 
<a id='L83' name='L83'></a>#   commandline keys
<a id='L84' name='L84'></a>    keyword whole -\[\-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz_0123456789\] brightred
<a id='L85' name='L85'></a> 
<a id='L86' name='L86'></a>#   known extensions
<a id='L87' name='L87'></a>    keyword whole Arrows brightmagenta
<a id='L88' name='L88'></a>    keyword whole BangPatterns brightmagenta
<a id='L89' name='L89'></a>    keyword whole ConstrainedClassMethods brightmagenta
<a id='L90' name='L90'></a>    keyword whole DeriveDataTypeable brightmagenta
<a id='L91' name='L91'></a>    keyword whole DisambiguateRecordFields brightmagenta
<a id='L92' name='L92'></a>    keyword whole EmptyDataDecls brightmagenta
<a id='L93' name='L93'></a>    keyword whole CPP brightmagenta
<a id='L94' name='L94'></a>    keyword whole ExistentialQuantification brightmagenta
<a id='L95' name='L95'></a>    keyword whole ExtendedDefaultRules brightmagenta
<a id='L96' name='L96'></a>    keyword whole ExtensibleRecords brightmagenta
<a id='L97' name='L97'></a>    keyword whole FlexibleContexts brightmagenta
<a id='L98' name='L98'></a>    keyword whole FlexibleInstances brightmagenta
<a id='L99' name='L99'></a>    keyword whole ForeignFunctionInterface brightmagenta
<a id='L100' name='L100'></a>    keyword whole FunctionalDependencies brightmagenta
<a id='L101' name='L101'></a>    keyword whole GADTs brightmagenta
<a id='L102' name='L102'></a>    keyword whole GeneralizedNewtypeDeriving brightmagenta
<a id='L103' name='L103'></a>    keyword whole Generics brightmagenta
<a id='L104' name='L104'></a>    keyword whole HereDocuments brightmagenta
<a id='L105' name='L105'></a>    keyword whole ImplicitParams brightmagenta
<a id='L106' name='L106'></a>    keyword whole ImpredicativeTypes brightmagenta
<a id='L107' name='L107'></a>    keyword whole IncoherentInstances brightmagenta
<a id='L108' name='L108'></a>    keyword whole KindSignatures brightmagenta
<a id='L109' name='L109'></a>    keyword whole LiberalTypeSynonyms brightmagenta
<a id='L110' name='L110'></a>    keyword whole MagicHash brightmagenta
<a id='L111' name='L111'></a>    keyword whole MultiParamTypeClasses brightmagenta
<a id='L112' name='L112'></a>    keyword whole NamedFieldPuns brightmagenta
<a id='L113' name='L113'></a>    keyword whole NewQualifiedOperators brightmagenta
<a id='L114' name='L114'></a>    keyword whole NoImplicitPrelude brightmagenta
<a id='L115' name='L115'></a>    keyword whole NoMonomorphismRestriction brightmagenta
<a id='L116' name='L116'></a>    keyword whole NoMonoPatBinds brightmagenta
<a id='L117' name='L117'></a>    keyword whole OverlappingInstances brightmagenta
<a id='L118' name='L118'></a>    keyword whole OverloadedStrings brightmagenta
<a id='L119' name='L119'></a>    keyword whole PackageImports brightmagenta
<a id='L120' name='L120'></a>    keyword whole ParallelListComp brightmagenta
<a id='L121' name='L121'></a>    keyword whole PatternGuards brightmagenta
<a id='L122' name='L122'></a>    keyword whole PatternSignatures brightmagenta
<a id='L123' name='L123'></a>    keyword whole PolymorphicComponents brightmagenta
<a id='L124' name='L124'></a>    keyword whole PostfixOperators brightmagenta
<a id='L125' name='L125'></a>    keyword whole QuasiQuotes brightmagenta
<a id='L126' name='L126'></a>    keyword whole Rank2Types brightmagenta
<a id='L127' name='L127'></a>    keyword whole RankNTypes brightmagenta
<a id='L128' name='L128'></a>    keyword whole RecordPuns brightmagenta
<a id='L129' name='L129'></a>    keyword whole RecordWildCards brightmagenta
<a id='L130' name='L130'></a>    keyword whole RecursiveDo brightmagenta
<a id='L131' name='L131'></a>    keyword whole RelaxedPolyRec brightmagenta
<a id='L132' name='L132'></a>    keyword whole RestrictedTypeSynonyms brightmagenta
<a id='L133' name='L133'></a>    keyword whole ScopedTypeVariables brightmagenta
<a id='L134' name='L134'></a>    keyword whole StandaloneDeriving brightmagenta
<a id='L135' name='L135'></a>    keyword whole TemplateHaskell brightmagenta
<a id='L136' name='L136'></a>    keyword whole TransformListComp brightmagenta
<a id='L137' name='L137'></a>    keyword whole TypeFamilies brightmagenta
<a id='L138' name='L138'></a>    keyword whole TypeOperators brightmagenta
<a id='L139' name='L139'></a>    keyword whole TypeSynonymInstances brightmagenta
<a id='L140' name='L140'></a>    keyword whole UnboxedTuples brightmagenta
<a id='L141' name='L141'></a>    keyword whole UndecidableInstances brightmagenta
<a id='L142' name='L142'></a>    keyword whole UnicodeSyntax brightmagenta
<a id='L143' name='L143'></a>    keyword whole UnliftedFFITypes brightmagenta
<a id='L144' name='L144'></a>    keyword whole ViewPatterns brightmagenta
<a id='L145' name='L145'></a> 
<a id='L146' name='L146'></a>#   links
<a id='L147' name='L147'></a>    keyword http://+ gray
<a id='L148' name='L148'></a>    keyword ftp://+ gray
<a id='L149' name='L149'></a>    keyword git://+ gray
<a id='L150' name='L150'></a>    keyword cvs://+ gray
<a id='L151' name='L151'></a>    keyword svn://+ gray
<a id='L152' name='L152'></a>    keyword darcs://+ gray
<a id='L153' name='L153'></a>#   special text inside of &lt;&gt;, i.e. emails
<a id='L154' name='L154'></a>    keyword \&lt;+\&gt; red
<a id='L155' name='L155'></a> 
<a id='L156' name='L156'></a>#   build types with '\s &amp; \n' hack to remove too stupid highlighting
<a id='L157' name='L157'></a>    keyword whole Configure\s white
<a id='L158' name='L158'></a>    keyword whole Configure\n white
<a id='L159' name='L159'></a>    keyword whole Custom\s white
<a id='L160' name='L160'></a>    keyword whole Custom\n white
<a id='L161' name='L161'></a>    keyword whole Make\s white
<a id='L162' name='L162'></a>    keyword whole Make\n white
<a id='L163' name='L163'></a>    keyword whole Simple\n white
<a id='L164' name='L164'></a>    keyword whole Simple\s white
<a id='L165' name='L165'></a> 
<a id='L166' name='L166'></a>#   licenses
<a id='L167' name='L167'></a>    keyword whole AllRightsReserved white
<a id='L168' name='L168'></a>    keyword whole OtherLicense white
<a id='L169' name='L169'></a>    keyword whole PublicDomain white
<a id='L170' name='L170'></a>    keyword whole LGPL white
<a id='L171' name='L171'></a>    keyword whole GPL white
<a id='L172' name='L172'></a>    keyword whole LGPL2 white
<a id='L173' name='L173'></a>    keyword whole GPL2 white
<a id='L174' name='L174'></a>    keyword whole LGPL3 white
<a id='L175' name='L175'></a>    keyword whole GPL3 white
<a id='L176' name='L176'></a>    keyword whole BSD white
<a id='L177' name='L177'></a>    keyword whole BSD3 white
<a id='L178' name='L178'></a>    keyword whole BSD4 white
<a id='L179' name='L179'></a>    keyword whole MIT white
<a id='L180' name='L180'></a> 
<a id='L181' name='L181'></a>#   compilers
<a id='L182' name='L182'></a>    keyword whole GHC white
<a id='L183' name='L183'></a>    keyword whole NHC white
<a id='L184' name='L184'></a>    keyword whole JHC white
<a id='L185' name='L185'></a>    keyword whole HBC white
<a id='L186' name='L186'></a>    keyword whole Helium white
<a id='L187' name='L187'></a>    keyword whole Hugs white
<a id='L188' name='L188'></a> 
<a id='L189' name='L189'></a>#   special keywords
<a id='L190' name='L190'></a>    keyword whole True white
<a id='L191' name='L191'></a>    keyword whole False white
<a id='L192' name='L192'></a>    keyword whole if white
<a id='L193' name='L193'></a>    keyword whole else white
<a id='L194' name='L194'></a>    keyword whole os white
<a id='L195' name='L195'></a>    keyword whole impl white
<a id='L196' name='L196'></a>    keyword whole arch white
<a id='L197' name='L197'></a> 
<a id='L198' name='L198'></a>    keyword whole linestart \[\s\]executable yellow
<a id='L199' name='L199'></a>    keyword whole linestart \[\s\]library yellow
<a id='L200' name='L200'></a>    keyword whole linestart \[\s\]test-suite yellow
<a id='L201' name='L201'></a>    keyword whole flag yellow
<a id='L202' name='L202'></a>    keyword whole repo yellow
<a id='L203' name='L203'></a> 
<a id='L204' name='L204'></a> 
<a id='L205' name='L205'></a>#   unboxed (started from upcase)
<a id='L206' name='L206'></a>#    keyword whole \{ABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz\]# white
<a id='L207' name='L207'></a>#   types/modules
<a id='L208' name='L208'></a>#    keyword whole \{ABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz\] white
<a id='L209' name='L209'></a> 
<a id='L210' name='L210'></a>#digits
<a id='L211' name='L211'></a>    keyword whole 0\{xX\}\{0123456789abcdefABCDEF\}\[0123456789abcdefABCDEF\] brightgreen
<a id='L212' name='L212'></a>    keyword whole \{0123456789\}\[0123456789\] brightgreen
<a id='L213' name='L213'></a>    keyword whole \[0123456789\]\.\{0123456789\}\[0123456789\] brightgreen
<a id='L214' name='L214'></a>    keyword whole \{0123456789\}\[0123456789\]\.\[0123456789\] brightgreen
<a id='L215' name='L215'></a>    keyword whole \{0123456789\}\[0123456789\]\{eE\}\{0123456789\}\[0123456789\] brightgreen
<a id='L216' name='L216'></a>    keyword whole \{0123456789\}\[0123456789\]\{eE\}\{\-\+\}\{0123456789\}\[0123456789\] brightgreen
<a id='L217' name='L217'></a>    keyword whole \{0123456789\}\[0123456789\]\.\{0123456789\}\[0123456789\]\{eE\}\{0123456789\}\[0123456789\] brightgreen
<a id='L218' name='L218'></a>    keyword whole \{0123456789\}\[0123456789\]\.\{0123456789\}\[0123456789\]\{eE\}\{\-\+\}\{0123456789\}\[0123456789\] brightgreen
<a id='L219' name='L219'></a> 
<a id='L220' name='L220'></a> 
<a id='L221' name='L221'></a># some punctuation characters
<a id='L222' name='L222'></a>    keyword whole $ yellow
<a id='L223' name='L223'></a>    keyword whole ! white
<a id='L224' name='L224'></a>    keyword whole &amp;&amp; white
<a id='L225' name='L225'></a>    keyword whole \* yellow
<a id='L226' name='L226'></a>    keyword whole \+ yellow
<a id='L227' name='L227'></a>    keyword whole / yellow
<a id='L228' name='L228'></a>    keyword whole ^ white
<a id='L229' name='L229'></a>    keyword whole || white
<a id='L230' name='L230'></a>    keyword whole | white
<a id='L231' name='L231'></a> 
<a id='L232' name='L232'></a>    keyword ~ white
<a id='L233' name='L233'></a>    keyword , brightcyan
<a id='L234' name='L234'></a>    keyword - yellow
<a id='L235' name='L235'></a>    keyword : brightcyan
<a id='L236' name='L236'></a>    keyword ; yellow
<a id='L237' name='L237'></a>    keyword = yellow
<a id='L238' name='L238'></a>    keyword &lt; yellow
<a id='L239' name='L239'></a>    keyword &gt; yellow
<a id='L240' name='L240'></a>    keyword { white
<a id='L241' name='L241'></a>    keyword } white
<a id='L242' name='L242'></a>    keyword [ brightcyan
<a id='L243' name='L243'></a>    keyword ] brightcyan
<a id='L244' name='L244'></a>    keyword ( brightcyan
<a id='L245' name='L245'></a>    keyword ) brightcyan
<a id='L246' name='L246'></a> 
<a id='L247' name='L247'></a># comments
<a id='L248' name='L248'></a>context exclusive {- -} brown
<a id='L249' name='L249'></a>    spellcheck
<a id='L250' name='L250'></a> 
<a id='L251' name='L251'></a>context exclusive // \n brown
<a id='L252' name='L252'></a>    spellcheck
<a id='L253' name='L253'></a> 
<a id='L254' name='L254'></a>context exclusive \-\- \n brown
<a id='L255' name='L255'></a>    spellcheck
<a id='L256' name='L256'></a> 
<a id='L257' name='L257'></a>context " " green
<a id='L258' name='L258'></a>    spellcheck
<a id='L259' name='L259'></a> 
<a id='L260' name='L260'></a>    keyword \\" brightgreen
<a id='L261' name='L261'></a>    keyword %% brightgreen
<a id='L262' name='L262'></a>    keyword %\[#0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\[L\]\{eEfgGoxX\} brightgreen
<a id='L263' name='L263'></a>    keyword %\[0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\[hl\]\{diuxX\} brightgreen
<a id='L264' name='L264'></a>    keyword %\[hl\]n brightgreen
<a id='L265' name='L265'></a>    keyword %\[-\]\[0123456789\*\]\[.\]\[0123456789\*\]s brightgreen
<a id='L266' name='L266'></a>    keyword %[*] brightgreen
<a id='L267' name='L267'></a>    keyword %c brightgreen
<a id='L268' name='L268'></a>    keyword %p brightgreen
<a id='L269' name='L269'></a>    keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen
<a id='L270' name='L270'></a>    keyword \\\\ brightgreen
<a id='L271' name='L271'></a>    keyword \\' brightgreen
<a id='L272' name='L272'></a>    keyword \\\{abtnvfr\} brightgreen
<a id='L273' name='L273'></a> 
<a id='L274' name='L274'></a># infix binop
<a id='L275' name='L275'></a>context exclusive ` ` white
</pre>
<hr />
<a id='BOTTOM' name='BOTTOM'></a>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><img class='icon' src='../icons/n_bottom.png' alt='[bottom]' /><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+275 misc/syntax/cabal.syntax'  /> */</em>
</body>
</html>
